package com.campus_information_portal.entity;

import com.campus_information_portal.util.DateJsonType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;


import java.util.Date;

/**
 * @author 20155883 万珊
 * @description 学生-四六级-学院信息
 * @project_name StudentInfo
 * @package com.campus_information_portal.entity
 * @create 2018-05-26 23:50
 **/
public class StudentInfo {
    private int stuInfoId;
    private int stuNum;
    private String stuName;
    private int stuSex;
    private String stuIdcardNum;
    @JsonSerialize(using = DateJsonType.class)
    private Date stuBirthday;
    private String stuNation;
    private Integer stuPoli;
    private Integer stuPhone;
    private String stuNativeplace;
    private String stuPassword;
    private int stuGrade;

    private Integer cet4Grade;
    private Integer cet6Grade;
    private String academyName;

    public int getStuInfoId() {
        return stuInfoId;
    }

    public void setStuInfoId(int stuInfoId) {
        this.stuInfoId = stuInfoId;
    }

    public int getStuNum() {
        return stuNum;
    }

    public void setStuNum(int stuNum) {
        this.stuNum = stuNum;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public int getStuSex() {
        return stuSex;
    }

    public void setStuSex(int stuSex) {
        this.stuSex = stuSex;
    }

    public String getStuIdcardNum() {
        return stuIdcardNum;
    }

    public void setStuIdcardNum(String stuIdcardNum) {
        this.stuIdcardNum = stuIdcardNum;
    }

    public Date getStuBirthday() {
        return stuBirthday;
    }

    public void setStuBirthday(Date stuBirthday) {
        this.stuBirthday = stuBirthday;
    }

    public String getStuNation() {
        return stuNation;
    }

    public void setStuNation(String stuNation) {
        this.stuNation = stuNation;
    }

    public Integer getStuPoli() {
        return stuPoli;
    }

    public void setStuPoli(Integer stuPoli) {
        this.stuPoli = stuPoli;
    }

    public Integer getStuPhone() {
        return stuPhone;
    }

    public void setStuPhone(Integer stuPhone) {
        this.stuPhone = stuPhone;
    }

    public String getStuNativeplace() {
        return stuNativeplace;
    }

    public void setStuNativeplace(String stuNativeplace) {
        this.stuNativeplace = stuNativeplace;
    }

    public String getStuPassword() {
        return stuPassword;
    }

    public void setStuPassword(String stuPassword) {
        this.stuPassword = stuPassword;
    }

    public int getStuGrade() {
        return stuGrade;
    }

    public void setStuGrade(int stuGrade) {
        this.stuGrade = stuGrade;
    }

    public Integer getCet4Grade() {
        return cet4Grade;
    }

    public void setCet4Grade(Integer cet4Grade) {
        this.cet4Grade = cet4Grade;
    }

    public Integer getCet6Grade() {
        return cet6Grade;
    }

    public void setCet6Grade(Integer cet6Grade) {
        this.cet6Grade = cet6Grade;
    }

    public String getAcademyName() {
        return academyName;
    }

    public void setAcademyName(String academyName) {
        this.academyName = academyName;
    }

    @Override
    public String toString() {
        return "StudentInfo{" +
                "stuInfoId=" + stuInfoId +
                ", stuNum=" + stuNum +
                ", stuName='" + stuName + '\'' +
                ", stuSex=" + stuSex +
                ", stuIdcardNum='" + stuIdcardNum + '\'' +
                ", stuBirthday=" + stuBirthday +
                ", stuNation='" + stuNation + '\'' +
                ", stuPoli=" + stuPoli +
                ", stuPhone=" + stuPhone +
                ", stuNativeplace='" + stuNativeplace + '\'' +
                ", stuPassword='" + stuPassword + '\'' +
                ", stuGrade=" + stuGrade +
                ", cet4Grade=" + cet4Grade +
                ", cet6Grade=" + cet6Grade +
                ", academyName='" + academyName + '\'' +
                '}';
    }
}
